<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='__PUBLIC__/css/admin-style.css' />
</head>
<body class="body">
<!--图片预览框-->
<div id="showpic" class="showpic" style="display:none;"><img name="showpic_img" id="showpic_img" width="120" height="160"></div>
<include file="./Public/system/plus_tags.html" />
<gt name="news_id" value="0">
<form name="update" action="?s=Admin-News-Update" method="post" name="myform" id="myform">
<input type="hidden" name="news_id" value="{$news_id}">
<else />
<form name="add" action="?s=Admin-Art-Type_Insert" method="post" name="myform" id="myform">
</gt>
<div class="title">
	<div class="tabs" id="tabs"><a href="javascript:void(0)" class="on" id="1">{$news_tplname}文章类别</a></div>
    <div class="right"><a href="?s=Admin-Art-Type_Show">返回类别列表</a></div>
</div>
<div class="form">
<table border="0" cellpadding="0" cellspacing="0" class="table" id="tabs1">
  <tr>
    <td class="tl">类别名称：</td>
    <td class="tr"><input type="text" name="name" id="name" value="{$typarr[name]}" maxlength="255" error="* 名称不能为空" class="w400"><span id="news_name_error">*</span></td>
  </tr>
  <tr>
    <td class="tl">是否启用为次导航：</td>
    <td class="tr padding-5050"><input type="radio" <if condition='$typarr[isnav] eq 1 OR empty($tid)'>checked="checked"</if> value="1" name="isnav" id="yesis" /><label for="yesis">是</label><input type="radio" <if condition='$typarr[isnav] eq 0'>checked="checked"</if> value="0" name="isnav" id="nois" /><label for="nois">否</label></td>
  </tr>
  <tr>
    <td class="tl">文章状态：</td>
    <td class="tr padding-5050"><input type="radio" <if condition='$typarr[state] eq 1 OR empty($tid)'>checked="checked"</if> value="1" name="state" id="yesopen" /><label for="yesopen">开启</label><input type="radio" <if condition='$typarr[state] eq 0'>checked="checked"</if> value="0" name="state" id="noopen" /><label for="noopen">关闭</label></td>
  </tr>
</table>
<ul class="footer">
	<input type="hidden" name="tid" value="{$tid}" />
	<input type="submit" name="submit" value="提交"> <input type="reset" name="reset" value="重置">
</ul>
</div>
</form>
<include file="./Public/system/plus_kedit.html" />
<include file="./Public/system/footer.html" />
</body>
</html>